From 57dff7c57f8191ba8d6f0c9e11314a0e1a9cd483 Mon Sep 17 00:00:00 2001 From: "Jan D." Date: Tue, 22 Jun 2010 08:42:00 +0200 Subject: [PATCH] * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). --- src/ChangeLog | 4 ++++ src/font.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e5f62c9b760..ea7b05339df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 Keith Packard (tiny change) + + * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). + 2010-06-20 Eli Zaretskii * xdisp.c (try_scrolling): When scroll-conservatively is set to diff --git a/src/font.c b/src/font.c index e07dbc5dd16..f9c2381fa70 100644 --- a/src/font.c +++ b/src/font.c @@ -1544,7 +1544,7 @@ font_parse_fcname (name, font) int size_found = 1; for (q = p + 1; *q && *q != ' '; q++) - if (! isdigit (*q)) + if (! isdigit (*q) && *q != '.') { size_found = 0; break; -- 2.30.2